package com.xmg.server.goods.mapper;

import com.xmg.shop.api.domain.ProductCatalogPropertyValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCatalogPropertyValueMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductCatalogPropertyValue record);

    ProductCatalogPropertyValue selectByPrimaryKey(Long id);

    List<ProductCatalogPropertyValue> selectAll();

    int updateByPrimaryKey(ProductCatalogPropertyValue record);

    List<ProductCatalogPropertyValue> getPropertyByProductId(@Param("productId") Long productId);

    List<ProductCatalogPropertyValue> selectCatalogPropertyValue(Long productId);
}